package springbucks.service;

import springbucks.dto.GradeDTO;
import springbucks.entity.Student;

import java.util.List;

/**
 * @author martin
 */
public interface LeaderBoardService {

    /**
     * @Description 根据学生ID 进行打分
     * @author wangyidi
     * @date 2022/11/23 5:06 下午
     * @return ResultVO
     **/
    void grade(GradeDTO gradeDTO , List<Student> students);

    /**
     * @Description 排行榜
     * @author wangyidi
     * @date 2022/11/23 5:06 下午
     * @return ResultVO
     **/
    List<Student> leaderboard(List<Student> students);
}
